/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package model.dao.services;

import java.util.List;
import model.entities.User;

/**
 *
 * @author Ku81
 */
public interface UserDAOServices {
    
    List<User> getAll();
    User getByUserId(int idUser);
    User getByUserName(String userName);
    List<User> getByFullName(String fullName);
    List<User> getByRoleId(int idRole);
    boolean create(User user);
    boolean updateProfile(User user);
    boolean enable(int idUser, boolean values);
    boolean delete(int idUser);
    boolean isExistUserName(String userName);
    boolean checkLogin(String userName, String password);
    List<User> find(String columnName, String value);
}
